package com.aaa.entity;
public class PurchaseDetails {

	private Integer purchaseDetailsId;
	private Goods goods;
	private Purchase purchase;
	private Integer goodsCount;
	private Double goodsPrice;

	public Double getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(Double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public Integer getPurchaseDetailsId() {
		return purchaseDetailsId;
	}

	public void setPurchaseDetailsId(Integer purchaseDetailsId) {
		this.purchaseDetailsId = purchaseDetailsId;
	}

	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public Purchase getPurchase() {
		return purchase;
	}

	public void setPurchase(Purchase purchase) {
		this.purchase = purchase;
	}

	public Integer getGoodsCount() {
		return goodsCount;
	}

	public void setGoodsCount(Integer goodsCount) {
		this.goodsCount = goodsCount;
	}

	@Override
	public String toString() {
		return "PurchaseDetails{" +
				"purchaseDetailsId=" + purchaseDetailsId +
				", goods=" + goods +
				", purchase=" + purchase +
				", goodsCount=" + goodsCount +
				", goodsPrice=" + goodsPrice +
				'}';
	}
}